Skip to content

Comments

[CHORE] 개인정보 처리방침 페이지 추가#95

Merged
topeanut merged 1 commit intodevelopfrom
chore/privacy-policy-page
Jan 26, 2026
Merged

[CHORE] 개인정보 처리방침 페이지 추가#95
topeanut merged 1 commit intodevelopfrom
chore/privacy-policy-page

Conversation

@Emithen
Copy link
Collaborator

@Emithen Emithen commented Jan 23, 2026

📝 요약

  • 개인정보 처리방침 페이지 추가

✅ 작업 내용

  • 개인정보 처리방침 페이지 추가

🧪 테스트 방법

  • {실행 환경 주소}/privacy 접속해보기

Summary by CodeRabbit

새로운 기능

  • 개인정보 처리방침 페이지가 추가되었습니다. 정보 수집, 이용 목적, 데이터 보유 기간, 제3자 공유, 사용자 권리, 연락처 및 정책 변경사항에 관한 상세한 정보를 확인할 수 있습니다.

✏️ Tip: You can customize this high-level summary in your review settings.

@vercel
Copy link
Contributor

vercel bot commented Jan 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
valanse-origin-repo Ready Ready Preview Jan 23, 2026 2:56pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 23, 2026

Walkthrough

Next.js 앱에 새로운 개인정보 보호정책 페이지를 추가합니다. src/app/(unauth)/privacy/page.tsx에 라우트 페이지를 생성하고, src/components/pages/privacy/privacyPolicyPage.tsx에 개인정보 보호정책 콘텐츠 컴포넌트를 구현합니다. 메타데이터와 한국어로 작성된 정적 정책 내용을 포함합니다.

Changes

그룹 / 파일 변경 요약
개인정보 보호정책 라우트
src/app/(unauth)/privacy/page.tsx
Privacy 페이지 컴포넌트를 내보내는 새로운 Next.js 라우트 파일 추가. PrivacyPolicyPage 컴포넌트를 임포트하여 기본 내보내기로 반환 (+7줄)
개인정보 보호정책 페이지 컴포넌트
src/components/pages/privacy/privacyPolicyPage.tsx
메타데이터, 페이지 제목, 설명을 정의하는 새로운 컴포넌트. 수집 항목, 용도, 보유기간, 제3자 공급자, 개인정보 처리, 권리, 연락처, 변경사항 섹션을 포함한 한국어 개인정보 보호정책 콘텐츠 포함 (+180줄)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related issues

Poem

🐰 프라이버시 페이지가 피어났네,
한국말로 예쁘게 꾸며져서,
사용자 권리 지키는 마음으로,
정책을 정중히 담아두었네.
토끼가 환영해, 멋진 변화! 🎉

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed PR 제목은 변경 내용의 핵심을 명확하게 설명합니다. 개인정보 처리방침 페이지 추가라는 주요 변경 사항을 정확히 반영하고 있습니다.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In `@src/app/`(unauth)/privacy/page.tsx:
- Around line 1-7: The page is not re-exporting the SEO metadata from
privacyPolicyPage.tsx so title/description/robots don't apply; import or
re-export the metadata defined in that module (referencing
privacyPolicyPage.tsx's exported symbol metadata) and export it from this file
(e.g., export const metadata = /* the imported metadata */ or use export {
metadata } from '../../../components/pages/privacy/privacyPolicyPage') so the
Privacy page exposes the same metadata as PrivacyPolicyPage.

In `@src/components/pages/privacy/privacyPolicyPage.tsx`:
- Around line 8-12: The exported metadata in privacyPolicyPage.tsx (export const
metadata using APP_NAME) won't be picked up by Next.js App Router because
metadata must be defined or re-exported from a page.tsx/layout.tsx/route.tsx;
move the metadata definition into the corresponding page.tsx or add a re-export
there (e.g. in page.tsx: export { metadata } from '...privacyPolicyPage') so
Next recognizes title/description/robots; keep the same metadata symbol and
APP_NAME reference when moving/re-exporting.

Comment on lines +1 to +7
import { PrivacyPolicyPage } from '../../../components/pages/privacy/privacyPolicyPage'

function Privacy() {
return <PrivacyPolicyPage />
}

export default Privacy
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

metadata re-export 누락

privacyPolicyPage.tsx에서 정의한 metadata가 이 페이지 파일에서 re-export되지 않아 SEO 메타데이터(title, description, robots)가 적용되지 않습니다.

🔧 수정 제안
-import { PrivacyPolicyPage } from '../../../components/pages/privacy/privacyPolicyPage'
+import { PrivacyPolicyPage, metadata } from '../../../components/pages/privacy/privacyPolicyPage'
+
+export { metadata }

 function Privacy() {
   return <PrivacyPolicyPage />
 }

 export default Privacy
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
import { PrivacyPolicyPage } from '../../../components/pages/privacy/privacyPolicyPage'
function Privacy() {
return <PrivacyPolicyPage />
}
export default Privacy
import { PrivacyPolicyPage, metadata } from '../../../components/pages/privacy/privacyPolicyPage'
export { metadata }
function Privacy() {
return <PrivacyPolicyPage />
}
export default Privacy
🤖 Prompt for AI Agents
In `@src/app/`(unauth)/privacy/page.tsx around lines 1 - 7, The page is not
re-exporting the SEO metadata from privacyPolicyPage.tsx so
title/description/robots don't apply; import or re-export the metadata defined
in that module (referencing privacyPolicyPage.tsx's exported symbol metadata)
and export it from this file (e.g., export const metadata = /* the imported
metadata */ or use export { metadata } from
'../../../components/pages/privacy/privacyPolicyPage') so the Privacy page
exposes the same metadata as PrivacyPolicyPage.

Comment on lines +8 to +12
export const metadata: Metadata = {
title: `개인정보 처리방침 | ${APP_NAME}`,
description: `${APP_NAME} 개인정보 처리방침`,
robots: { index: true, follow: true },
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Next.js App Router에서 metadata export가 적용되지 않음

Next.js App Router에서 metadatapage.tsx, layout.tsx, 또는 route.tsx 파일에서만 인식됩니다. 컴포넌트 파일에서 export한 metadata는 무시되므로, 실제로 페이지의 title과 description이 적용되지 않습니다.

page.tsx에서 metadata를 re-export하거나, 해당 파일에서 직접 정의해야 합니다.

🔧 page.tsx에서 metadata re-export 예시
// src/app/(unauth)/privacy/page.tsx
export { metadata } from '../../../components/pages/privacy/privacyPolicyPage'

또는 page.tsx에서 직접 정의:

import type { Metadata } from 'next'

export const metadata: Metadata = {
  title: '개인정보 처리방침 | Valanse',
  description: 'Valanse 개인정보 처리방침',
  robots: { index: true, follow: true },
}
🤖 Prompt for AI Agents
In `@src/components/pages/privacy/privacyPolicyPage.tsx` around lines 8 - 12, The
exported metadata in privacyPolicyPage.tsx (export const metadata using
APP_NAME) won't be picked up by Next.js App Router because metadata must be
defined or re-exported from a page.tsx/layout.tsx/route.tsx; move the metadata
definition into the corresponding page.tsx or add a re-export there (e.g. in
page.tsx: export { metadata } from '...privacyPolicyPage') so Next recognizes
title/description/robots; keep the same metadata symbol and APP_NAME reference
when moving/re-exporting.

@topeanut topeanut merged commit 4b04897 into develop Jan 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants